#include<stdio.h>
#define TURE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE  -1
#define OVERFLOW  -2
#define LISTSIZE 1000

int fun(int x)
{
	int list [LISTSIZE]; 
	if(x == 2)
	  return TURE;
	else if (x <= 0)
	  return FALSE;
	else if (x > 10)
	  return ERROR;
    else if (x == 10)
      return OVERFLOW;
    else if (x < 10 && x > 2)
      return INFEASIBLE;
	else  
    return OK;
}
int main()
{
	int a = 1;
	int x = fun(a); 
	printf ("%d ", x);
	return 0;
} 
